<?php

declare(strict_types=1);

namespace app\common\enum\goods;

use app\common\enum\EnumBasics;

/**
 * 枚举类：商品状态
 * Class Status
 * @package app\common\enum\goods
 */
class Pick extends EnumBasics
{
    // 自提
    const SELF_PICKUP = 10;

    // 快递
    const FAST_MAIL = 20;

    /**
     * 获取枚举类型值
     * @return array
     */
    public static function data()
    {
        return [
            self::SELF_PICKUP => [
                'name' => '自提',
                'value' => self::SELF_PICKUP,
            ],
            self::FAST_MAIL => [
                'name' => '快递',
                'value' => self::FAST_MAIL,
            ],
        ];
    }
}
